package controller

import "douyin/models"

type Response struct {
	StatusCode int32  `json:"status_code"`
	StatusMsg  string `json:"status_msg,omitempty"`
}

type Video struct {
	Id            int64              `json:"id,omitempty"`
	Author        models.UserMessage `json:"author"`
	PlayUrl       string             `json:"play_url" json:"play_url,omitempty"`
	CoverUrl      string             `json:"cover_url,omitempty"`
	FavoriteCount int64              `json:"favorite_count,omitempty"`
	CommentCount  int64              `json:"comment_count,omitempty"`
	IsFavorite    bool               `json:"is_favorite,omitempty"`
}

type Comment struct {
	Id         int64              `json:"id,omitempty"`
	User       models.UserMessage `json:"user"`
	Content    string             `json:"content,omitempty"`
	CreateDate string             `json:"create_date,omitempty"`
}
